<!DOCTYPE html>
<html>
	<head>
	  <title><%= full_title(yield(:title)) %></title>
	  <!--1.8버전 :media => "all"-->
	  <!--1.9버전-->
	  <%= stylesheet_link_tag    "application", media: "all" %>
	  <%= javascript_include_tag "application" %>
	  <%= csrf_meta_tags %>
	  	  <!--IE9-->
		<%= render 'layouts/shim' %>    
	</head>
	<body>
		<%= render 'layouts/header' %>
		<!--이렇게 해야 내용 나옴-->
		<div class = "container">
			<% flash.each do |key,value|%>
				<%= content_tag(:div,value,class: "alert alert-#{key}") %>
			<%end%>
			<%= yield %>
			<%= render 'layouts/footer' %>
			<!--7.1.1 Deubg  -->
			<%= debug(params) if Rails.env.development? %>
		</div>
		
	</body>
</html>